	.file	"echocliet.c"
	.section	.rodata
.LC0:
	.string	"usage:%s <host><post>\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB2:
	.cfi_startproc
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$16464, %rsp
	movl	%edi, -16452(%rbp)
	movq	%rsi, -16464(%rbp)
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	cmpl	$3, -16452(%rbp)
	je	.L2
	movq	-16464(%rbp), %rax
	movq	(%rax), %rdx
	movq	stderr(%rip), %rax
	movl	$.LC0, %esi
	movq	%rax, %rdi
	movl	$0, %eax
	call	fprintf
	movl	$0, %edi
	call	exit
.L2:
	movq	-16464(%rbp), %rax
	movq	8(%rax), %rax
	movq	%rax, -16432(%rbp)
	movq	-16464(%rbp), %rax
	movq	16(%rax), %rax
	movq	%rax, -16424(%rbp)
	movq	-16424(%rbp), %rax
	movq	%rax, %rdi
	call	atoi
	movl	%eax, -16440(%rbp)
	movl	-16440(%rbp), %edx
	movq	-16432(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	Open_clientfd
	movl	%eax, -16436(%rbp)
	movl	-16436(%rbp), %edx
	leaq	-16416(%rbp), %rax
	movl	%edx, %esi
	movq	%rax, %rdi
	call	Rio_readinitb
	jmp	.L3
.L4:
	leaq	-8208(%rbp), %rax
	movq	%rax, %rdi
	call	strlen
	movq	%rax, %rdx
	leaq	-8208(%rbp), %rcx
	movl	-16436(%rbp), %eax
	movq	%rcx, %rsi
	movl	%eax, %edi
	call	Rio_writen
	leaq	-8208(%rbp), %rcx
	leaq	-16416(%rbp), %rax
	movl	$8192, %edx
	movq	%rcx, %rsi
	movq	%rax, %rdi
	call	Rio_readlineb
	movq	stdout(%rip), %rdx
	leaq	-8208(%rbp), %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	Fputs
.L3:
	movq	stdin(%rip), %rdx
	leaq	-8208(%rbp), %rax
	movl	$8192, %esi
	movq	%rax, %rdi
	call	Fgets
	testq	%rax, %rax
	jne	.L4
	movl	-16436(%rbp), %eax
	movl	%eax, %edi
	call	Close
	movl	$0, %edi
	call	exit
	.cfi_endproc
.LFE2:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609"
	.section	.note.GNU-stack,"",@progbits
